<div class="row-fluid">
    <div class="span12">
        <div class="tabbable tabbable-custom boxless">
            <div class="tab-content">
                <div class="tab-pane active" id="tab_2">
                    <div class="portlet box green">
                        <div class="portlet-title">
                            <div class="caption"><i class="icon-reorder"></i></div>
                        </div>
                        <div class="portlet-body form">
                            <form id="adtvminfo" class="form-horizontal">
                                <h3 class="form-section">添加系统消息</h3>
                                <div class="row-fluid">
                                    <div class="span6 ">
                                        <div class="control-group">
                                            <label class="control-label">消息标题</label>
                                            <div class="controls picupload">
                                                <div class="pic_border">
                                                    <input type="text"  name="n_title" value=""
                                                           class="m-wrap span12">
                                                    <span class="help-block"></span>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                
                                <div class="row-fluid">
                                    <div class="span6 ">
                                        <div class="control-group">
                                            <label class="control-label">消息内容</label>
                                            <div class="controls">
                                                <script id="container" name="n_content" type="text/plain" style="width:850px;height:100%;min-height:400px;">
                                                </script>
                                                
                                                <span class="help-block"></span>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                
                                <div class="row-fluid">
                                    <div class="span6 ">
                                        <div class="control-group">
                                            <label class="control-label">发送对象</label>
                                            <div class="controls">
                                                <input type="radio" name="n_send_type[]" value="1" class="span8 m-wrap"style="width: 467px;height: 200px" id="all" checked>所有用户
                                                <span class="help-block"></span>
                                            </div>
                                            <div class="controls">
                                                <input type="radio" name="n_send_type[]"
                                                      value="2" class="span8 m-wrap"style="width: 467px;height: 200px" id="alone">单个用户
                                                <span class="help-block"></span>
                                            </div>
                                        </div>
                                    </div>
                                </div>
    
                                <div class="row-fluid" id="choose" style="display: none">
                                    <div class="span6 ">
                                        <div class="control-group">
                                            <label class="control-label">选择用户</label>
                                            <div class="controls" >
                                                <select name="n_user_id" id="n_user_id" >
                                                    {volist name='list' id='val'}
                                                    <option value="{$val.user_id}" >{$val.user_username}</option>
                                                    {/volist}
                                                </select>
                                            </div>
                                        </div>
                                    </div>
                                </div>
    
                                <div class="row-fluid" id="">
                                    <div class="span6 ">
                                        <div class="control-group">
                                            <label class="control-label">消息种类</label>
                                            <div class="controls" >
                                                <select name="n_type" id="" >
                                                    {volist name='n_type' id='vo'}
                                                    <option value="{$vo.notice_type_id}" >{$vo.notice_type_name}</option>
                                                    {/volist}
                                                </select>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                
                                <input type="hidden" name="page" value="{$page?$page:''}">
                                <div class="form-actions">
                                    <button id="adtvmadd" type="button" class="btn blue"><i class="icon-ok"></i> 确定
                                    </button>
                                    <button id="adtvmout" type="button" class="btn green">返回菜单列表</button>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

